package com.association.service.impl;

import com.association.model.ResultResp;
import com.association.model.entity.WebProject;
import com.association.service.WebProjectService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.len.base.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

/**
 * @author 18244
 */
@Service
public class WebProjectServiceImpl extends BaseServiceImpl<WebProject, String> implements WebProjectService {


    @Override
    public ResultResp getById(WebProject webProject) {
        return new ResultResp(this.getOne(new QueryWrapper<WebProject>().eq("id",webProject.getId())));
    }
}
